package edu.mobbuzz.daf.bean;

import java.io.Serializable;
import java.util.Date;

public class Stream extends BaseBean implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private String sender;
	private String recepient;
	private String stream;
	private Date date;
	
	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	

	public String getSender() {
		return sender;
	}


	public void setSender(String sender) {
		this.sender = sender;
	}
	
	public String getRecepient() {
		return recepient;
	}


	public void setRecepient(String recepient) {
		this.recepient = recepient;
	}
	
	
	

	public String getStream() {
		return stream;
	}


	public void setStream(String stream) {
		this.stream = stream;
	}


	public Date getDate() {
		return date;
	}


	public void setDate(Date date) {
		this.date = date;
	}


	@Override
	protected String getPrimaryKey() {
		
		return getId();
	}

}
